package com.keruyun.portal.whitelist.gateway.entity;

import lombok.Data;

import java.util.Date;

/**
 * <p>
 * Description: com.keruyun.whitelist.manager.entity
 * </p>
 * date：2018/5/26
 * email:crowhyc@163.com
 *
 * @author Dean.Hwang
 */
@Data
public class ServerService {
    private String id;
    private String serviceName;
    private String serviceFrontVer;
    private String backInstanceGroupId;
    private Integer status;//0.关闭中 1.开启中
    private String whitelistId = "";
    private String whitelistName = "";
    private boolean def;//是否默认服务
    private Date createDate;
    private Date modifyDate;

    public ServerService(String name) {
        this.serviceName = name;
    }

    public ServerService(Integer status) {
        this.status = status;
    }

    public ServerService() {
        this.createDate = new Date();
        this.modifyDate = new Date();
    }
}
